 <% @var = " el resultado final fue " %> 
  <tr valign="top">
    <td height="40" align="left" class="dato" background="/images/topHeader.gif" colspan="4">El evento <% @event.name %> ha finalizado</td>
  </tr>
  <tr><td>&nbsp;</td></tr>
	
  <tr>
     <td colspan="4" align="center" background="/images/vg.jpg"><span class="subdatos">Informando via Tweeter</span></td>
  </tr>
  
  
  <% for eventparticipant in @dataevent %>   
    <% for participant in Participant.find_all_by_id(eventparticipant.participant_idf)  	%>
    <% @var = @var << " " << participant.name << " " <<  eventparticipant.score.to_s  %>
    <% end %>
    <%end %>

<%
gem('twitter4r', '>=0.2.0')
require('twitter')
client = Twitter::Client.new(:login => 'betonlinevzla',
:password => 'betonline123')
new_message = client.status(:post,@event.name+@var)	

%>



    <tr><td>&nbsp;</td></tr>
    
    
    
   


</tr>
